package com.ruoyi.rest.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 员工请假表对象 sill_rest
 * 
 * @author ruoyi
 * @date 2024-08-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

public class SillRest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private String restNum;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String restName;

    /** 请假开始时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Excel(name = "请假开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date restStart;

    /** 请假结束时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Excel(name = "请假结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date restEnd;

    /** 请假年月 */
    @Excel(name = "请假年月")
    private String restYearmonth;

    /** 请假天数 */
    @Excel(name = "请假天数")
    private Long restDay;

    /** 备注 */
    @Excel(name = "备注")
    private String ps;


}
